<script>
	export default {
		// 此处globalData为了演示其作用，不是uView框架的一部分
		globalData: {
			username: '白居易'
		},
		onLaunch() {
			console.log('launch!!!!!!!!!!!!!!!!!!!!!!!!!!!')
			// #ifdef APP-PLUS
			uni.onTabBarMidButtonTap(()=>{
				uni.navigateTo({
					url:'/pages/publish'
				})
			})
			// #endif
			
			// 1.1.0版本之前关于http拦截器代码，已平滑移动到/common/http.interceptor.js中
			// 注意，需要在/main.js中实例化Vue之后引入如下(详见文档说明)：
			// import httpInterceptor from '@/common/http.interceptor.js'
			// Vue.use(httpInterceptor, app)
			// process.env.VUE_APP_PLATFORM 为通过js判断平台名称的方法，结果分别如下：
			/**
			 * h5，app-plus(nvue下也为app-plus)，mp-weixin，mp-alipay......
			 */
		},
	}
</script>

<style lang="scss">
	@import "uview-ui/index.scss";
	@import "common/demo.scss";
	.page,page{background-color: #F9F9F9;}
	.image{width: 100%;height: 100%;display: block;}
	.rela{position: relative;}
	.abso{position: absolute;}
	.fixed{position: fixed;}
	.flex{display: flex;}
	.wrap{flex-wrap: wrap;}
	.row{flex-direction: row;}
	.col{flex-direction: column;}
	.j-center{justify-content: center;}
	.j-around{justify-content: space-around;}
	.j-between{justify-content: space-between;}
	.j-end{justify-content: flex-end;}
	.a-center{align-items: center;}
	.a-end{align-items: flex-end;}
	.ecllipse{overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
</style>